package com.shycloud.mido.music.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 【添加/编辑】曲库 DTO
 *
 * @author nianhua.jiang
 * @date 2020/4/29
 */
@Data
public class MisMusicLibraryDTO extends Page implements Serializable {

	/** 主键ID */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	public static final String COL_ID = "id";

	/** 曲库名 */
	@TableField(value = "name")
	private String name;
	public static final String COL_NAME = "name";

	/** 简介 */
	@TableField(value = "introduction")
	private String introduction;
	public static final String COL_INTRODUCTION = "introduction";

	/** 排序 */
	@TableField(value = "sort")
	private String sort;
	public static final String COL_SORT = "sort";

	@TableField(value = "alias")
	private String alias;

	/** 是否置顶（0：置顶，1：未置顶） */
	@TableField(value = "top_flag")
	private String topFlag = "0";
	public static final String COL_TOP_FLAG = "top_flag";

	/** 状态（1：禁用，0：启用） */
	@TableField(value = "status")
	private String status = "0";
	public static final String COL_STATUS = "status";

	/** 图片路径 */
	@TableField(value = "img")
	private String img;
	public static final String COL_IMG = "img";

	/** 创建人 */
	@TableField(value = "create_user")
	private String createUser;
	public static final String COL_CREATE_USER = "create_user";

	/** 创建时间 */
	@TableField(value = "create_time")
	private Date createTime;
	public static final String COL_CREATE_TIME = "create_time";

	/** 更新人 */
	@TableField(value = "update_user")
	private String updateUser;
	public static final String COL_UPDATE_USER = "update_user";

	/** 更新时间 */
	@TableField(value = "update_time")
	private Date updateTime;
	public static final String COL_UPDATE_TIME = "update_time";

	/** 逻辑删除（0：未删除，1：已删除） */
	@TableField(value = "del_flag")
	private String delFlag = "0";
	public static final String COL_DEL_FLAG = "del_flag";
	/** 分类ID */
	private List<Integer> cateId;

}
